<?php
namespace app\admin\validate;

use think\Validate;

class Card extends Validate
{
    // 验证规则
    protected $rule = [
        ['cardid', 'require|unique:card', '卡券ID必填|卡券ID唯一不能重复'],
    ];
}